package exo2;

import java.util.Date;
/**
 * Created with IntelliJ IDEA.
 * User: naberrad
 * Date: 14/10/13
 * Time: 17:17
 * To change this template use File | Settings | File Templates.
 */
public class Biatoss extends Personnel {

    private Date dateDebut;
    private Date dateFin;
    private double salaire;

    public Biatoss(Date dateDebut, Date dateFin, double salaire) {
        this.dateDebut = dateDebut;
        this.dateFin = dateFin;
        this.salaire = salaire;
    }

    public Date getDateDebut() {
        return dateDebut;
    }

    public Date getDateFin() {
        return dateFin;
    }

    public double getSalaire() {
        return salaire;
    }

    public void setSalaire(double salaire) {
        this.salaire = salaire;
    }

    @Override
    public String toString() {
        return super.toString()+ "date debut : " + this.dateDebut +
                ", date fin : " + this.dateFin +
                ", Salaire " + this.salaire;
    }
}
